import { h } from "vue";

/**
 * 判断是不是vnode
 * @param value 参数
 * @returns
 */
export const isVNode = (value: any) => {
  const vnode = h("span");
  const VNodeType = vnode.constructor;
  return value instanceof VNodeType;
};
